package com.hwl.lab.repository;

import com.hwl.lab.entity.Menu;
import org.springframework.data.jpa.repository.JpaRepository;
import javax.transaction.Transactional;

public interface MenuRepository extends JpaRepository<Menu,Long> {
    @Transactional
    Menu findByMenuid(String menuid);
    @Transactional
    Menu findByMenuidLikeAndLevel(String menuid,int level);


}
